package com.smartinput.voice.application.dto

import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull

data class VoiceSaveRequest(
    @field:NotBlank(message = "设备ID不能为空")
    val deviceId: String,
    
    @field:NotBlank(message = "内容不能为空")
    val content: String,
    
    @field:NotNull(message = "置信度不能为空")
    val confidence: Double
)

data class VoiceRecord(
    val id: String,
    val userId: String,
    val deviceId: String,
    val content: String,
    val confidence: Double,
    val createdAt: String
) 